<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>left</title>
<#include "/admin/main/include/link_head.ftl"/>
</head>

<body style="overflow: hidden;background: #424f63;">

<div class="left-side-inner">
    <!--sidebar nav start-->
    <ul class="nav nav-pills nav-stacked custom-nav" style="margin-top: 0;">
        <li class="active"><a href="<@spring.url '/admin/index.do' />" target="_top"><i class="fa fa-home"></i>
            <span><@spring.message '主页' /></span></a></li>
    <#if (menuDetails??)>
        <#list menuDetails as menuDetail>
            <#if (menuDetail.subs??)&&(menuDetail.subs?size>0)>
                <li class="menu-list jr-top-left">
                    <#if menuDetail.linkOther??&&menuDetail.linkOther!=''>
                        <a url="<@spring.url '/admin/plugin/${menuDetail.pluginId}/${menuDetail.linkOther}' />?mid=${menuDetail.id}"
                           href="javascript:void(0);">${menuDetail.name}</a>
                    <#else>
                        <a url="" href="javascript:void(0);">${menuDetail.name}</a>
                    </#if>
                    <ul class="sub-menu-list">
                        <#list menuDetail.subs as subMenuDetail>
                            <#if subMenuDetail.linkOther??&&subMenuDetail.linkOther!=''>
                                <li><a url="<@spring.url '/admin/plugin/${subMenuDetail.pluginId}/${subMenuDetail.linkOther}' />?mid=${subMenuDetail.id}"
                                       href="javascript:void(0);">${subMenuDetail.name}</a></li>
                            <#else>
                                <li><a url="" href="javascript:void(0);">${subMenuDetail.name}</a></li>
                            </#if>
                        </#list>
                    </ul>
                </li>
            <#else>
                <#if menuDetail.linkOther??&&menuDetail.linkOther!=''>
                    <li class="jr-top-left"><a url="<@spring.url '/admin/plugin/${menuDetail.pluginId}/${menuDetail.linkOther}' />?mid=${menuDetail.id}"
                                               href="javascript:void(0);">${menuDetail.name}</a></li>
                <#else>
                    <li class="jr-top-left"><a url="" href="javascript:void(0);">${menuDetail.name}</a></li>
                </#if>
            </#if>
        </#list>
    </#if>
        <li><a url="<@spring.url '/admin/logout' />" href="javascript:void(0);" class="jr-logout"><i
                class="fa fa-sign-in"></i>
            <span><@spring.message '退出' /></span></a>
        </li>
    </ul>
    <!--sidebar nav end-->
</div>
</body>
</html>
<#include "/admin/main/include/link_foot.ftl"/>
<@tags.scripts />